<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>弹窗效果</title>
    <link rel="stylesheet" href="../lib/jquery.mobile-1.4.5.min.css">
    <script src="../lib/jquery-1.11.3.min.js"></script>
    <script src="../lib/jquery.mobile-1.4.5.min.js"></script>
</head>
<body>
    <div data-role="page" id="pageone">
        <div data-role="header">
            <h1>欢迎访问主页</h1>
        </div>

        <div data-role="main" class="ui-content">
            <!-- 弹窗按钮 (没有关闭按钮)-->
            <a href="#myPopup" data-rel="popup" class="ui-btn ui-btn-inline ui-corner-all">显示弹窗</a>
        </div>

        <!-- 弹出内容 -->
        <div data-role="popup" id="myPopup">
            <!-- 关闭按钮 -->
            <a href="#" data-rel="back" class="ui-btn ui-corner-all ui-shadow ui-btn ui-icon-delete ui-btn-icon-notext ui-btn-right"></a>
            <h2>欢迎！</h2>
            <p>我是弹窗内容,我是弹窗内容,我是弹窗内容,我是弹窗内容,我是弹窗内容,我是弹窗内容,我是弹窗内容,我是弹窗内容,我是弹窗内容,我是弹窗内容,我是弹窗内容,我是弹窗内容</p>
        </div>
        
        <div data-role="footer">
            <h1>底部文本</h1>
        </div>
    </div>
</body>
</html>